package com.hxzy.tms.service;

import java.util.List;

import com.hxzy.tms.entity.Project;

public interface ProjectService {
	ServiceResult<List<Project>> read(Long id);
	
	ServiceResult<List<Project>> projectList(Long id);
	
	//创建项目，传入String title ,String desc, Long uidManager ,Long uidCreate ,Long uidModified ,Long gmtCreate ,Long gmtModified
	ServiceResult<Project> create(Long teamId,String title ,String desc);
	
	ServiceResult<Project> update(Long id,Long teamId,String title ,String desc);
	
	ServiceResult<Project> saveOrUpdate(Long id,Long teamId,String title ,String desc);
	
	ServiceResult<Project> delete(Project project);
}
